WSAL\WP_Sensors\WooCommerce_Sensor D

Total Complexity 164
Dependencies 11
Dependents 2
Total lines 1,376
Lines of code 684
Logical lines of code 285
Comment lines 538
Methods 48
Properties 16

Methods 48

Method Rating Maintainability Complexity Lines of code
event_changed()
C
35 28 78
check_product_changes_after_save()
A
45 16 39
order_opened_in_editor()
A
48 10 31
early_init()
A
31 3 132
get_product_sku()
A
56 8 16
get_before_post_edit_data()
A
55 8 16
event_creation()
S
45 6 44
order_opened_for_editing()
S
57 7 16
woo_option_update()
S
56 7 16
gateway_changes()
S
56 6 17
inline_product_changed()
S
58 5 15
orders_actions()
S
62 6 10
data_store()
S
51 4 27
order_note_added()
S
52 4 22
get_order_post_edit_data()
S
71 4 5
get_coupon_event_data()
S
59 3 14
order_note_deleted()
S
55 2 18
is_frontend_sensor()
S
66 3 8
event_tag_creation()
S
61 2 13
event_category_creation()
S
61 2 13
detect_shipping_zone_change()
S
63 2 11
duplicate_product_action()
S
54 1 21
check_inline_edit()
S
70 2 6
webhook_added()
S
60 1 14
webhook_deleted()
S
62 1 12
event_admin_init()
S
74 1 5
set_old_location_data()
S
80 1 3
set_new_location_data()
S
80 1 3
get_old_location_data()
S
80 1 3
get_coupon_meta()
S
80 1 3
get_old_status()
S
80 1 3
get_old_order()
S
80 1 3
get_old_attachment_metadata()
S
80 1 3
set_old_post()
S
80 1 3
get_wc_user_meta()
S
80 1 3
get_new_location_data()
S
80 1 3
set_old_meta_data()
S
80 1 3
get_old_post()
S
80 1 3
set_old_product()
S
80 1 3
get_old_product()
S
80 1 3
get_old_meta_data()
S
80 1 3
set_old_attr_data()
S
80 1 3
get_old_attr_data()
S
80 1 3
get_new_data()
S
80 1 3
set_old_data()
S
80 1 3
get_old_data()
S
80 1 3
init()
S
89 1 2
set_wc_user_meta()
S
79 1 3